forum

home / developersection / forums / how to work with or condition using lamda expression

How to work with OR condition using lamda expression

Sushant Mishra 1785 14-Jul-2017

How to work with OR condition using lamda expression

I am using this code 

model = model.Where((x => x.ParentId == true )||(x => x.ParentName == true))

Its not working it shows error that operator || cannot be applied to operands of type lambda expression and lamda expression

 


Updated on 14-Jul-2017
Can you answer this question?

Answer

1 Answers

Liked By